package com.unicom.mec.device.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 边缘端点信息
 *
 * @author 刘亮武
 * @date 2020年06月18日
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class EdgeEndpointVo {

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "边缘端点key")
    private String edgeEndpointKey;

    @ApiModelProperty(value = "边缘端点名称")
    private String edgeEndpointName;

    @ApiModelProperty(value = "接入状态:1.未接入;2.已接入")
    private Integer accessStatus;

    @ApiModelProperty(value = "接入时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date accessTime;

    @ApiModelProperty(value = "运行状态:1.停止;2.运行;")
    private Integer runStatus;

    @ApiModelProperty(value = "运行时间")
    private String runTime;

    @ApiModelProperty(value = "协议")
    private String agreement;

    @ApiModelProperty(value = "品牌")
    private String brand;

    @ApiModelProperty(value = "设备类型")
    private String deviceType;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "维度")
    private String latitude;
}